package com.net.xpay.common.dao.stat;

import com.net.xpay.common.domain.stat.UserRealTimeStat;
import com.net.xpay.common.model.AggUserDailyStatModel;
import com.net.common.dao.Page;
import com.net.common.dao.PagedMapper;
import com.net.common.annotation.DataCommon;
import com.net.xpay.core.model.UserDailyStatSearchModel;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@DataCommon
@Repository
public interface UserRealTimeStatMapper extends PagedMapper<Long, UserRealTimeStat> {
    List<AggUserDailyStatModel> aggSearch(@Param("searchModel") UserDailyStatSearchModel searchModel, @Param("page") Page page);

    long aggSearchCount(@Param("searchModel")UserDailyStatSearchModel searchModel);
}
